import tkinter

from cases.case_config import CasesConfig
from windows import root
from windows.case_main_window import CaseMainFrame
from windows.left_windows.left_window import LeftFrame


if __name__ == '__main__':
    CasesConfig.case_init()  # 用例配置初始化
    leftFrame = LeftFrame(root, width=200,highlightbackground="grey", highlightthickness=2)
    leftFrame.pack(side='left',fill='y',padx=5,pady=5)
    leftFrame.pack_propagate(False) # 长宽定死，不再变化

    mainFrame = CaseMainFrame(root,highlightbackground="grey", highlightthickness=2)
    mainFrame.pack(side='left',padx=5,pady=5,expand=True,fill='both')
    root.mainloop()